package com.mall.member.feign;

import com.mall.common.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 这是一个声明式的远程调用
 */
@FeignClient(name = "mall-coupon")
public interface CouponFeignService {
    @GetMapping("/coupon/coupon/member/list")
    public Result membercoupons();
}
